//
//  NSString+Number.m
//  XKJY
//
//  Created by xiaokang100 on 2017/1/20.
//  Copyright © 2017年 xiaokang100. All rights reserved.
//

#import "NSString+Number.h"

@implementation NSString (Number)
+ (NSNumber *)numberWithString:(id)numberString {
    NSString *temp = [self stringWithFormat:@"%@",numberString];
    NSNumber *num = [NSNumber numberWithInteger:temp.integerValue];
    return num;
}
@end
